package com.cy.ppj.model.ao.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: 产品
 * @author: Ocean
 * @create: 2018-07-17 16:53
 **/
@Data
@ApiModel("产品编辑")
public class ProductEditAO extends ProductAddAO {

    @ApiModelProperty(value = "产品ID", required = true, example = "0")
    @NotNull(message = "数据异常")
    private Long id;

}
